<?php
define('ROOT_PATH_ADMIN_CACHE',"./Cache/Admin/");
define('ALL_CACTH_PATH',"./Cache/Home/");
define('ROOT_INC_PATH',"./Inc/");
define("HOME_RUNTIME_PATH","./Home/Runtime");     //前台文件夹
define("HOME_CACHE_PATH","./Home/Runtime/Cache"); //前台模板缓存
define("HOME_DATA_PATH","./Home/Runtime/Data");   //前台数据缓存
define("HOME_CACHE_PATH","./Home/Runtime/Logs");  //前台日志缓存
define("HOME_CACHE_PATH","./Home/Runtime/Temp");  //前台文件缓存
define("HOME_HTML_CACHE_PATH","./Home/Html");  	  //前台html缓存
define("TP_CKFINDER",__ROOT__."/tp/Extend/Vendor/ckfinder");
define("SESSION_VERSION",md5(__ROOT__)); //系统session唯一
$common = array( //前台及商家后台使用
    /* 数据库设置 */
    'DB_TYPE'               => 'mysql',     // 数据库类型
	'DB_HOST'               => 'localhost', // 服务器地址
	'DB_NAME'               => 'tp31',    // 数据库名
	'DB_USER'               => 'root',      // 用户名
	'DB_PWD'                => '123456',    // 密码
	'DB_PORT'               => '3306',      // 端口
	'DB_PREFIX'             => 'jcms_',   	// 数据库表前缀
	'SHOW_ERROR_MSG' 		=>true,			// 显示错误信息
);
define("_PRE_",		   $common['DB_PREFIX']);	//定义默认前缀
define("_PRE_TABLE_",  $common['DB_NAME']);		//定义Table
?>